package me.acomma.groot.domain.menu;

import lombok.Getter;
import lombok.Setter;
import me.acomma.groot.infrastructure.domain.BaseEntity;

import java.util.List;

@Getter
@Setter
public class Menu extends BaseEntity {
    private static final long serialVersionUID = -4792766716914682068L;

    private MenuId menuId;

    private MenuId parentId;

    private String name;

    private String icon;

    private String path;

    private Integer sortOrder;

    private List<Menu> children;
}
